// HookFrame.h: interface for the CHookFrame class.

#ifndef _HOOKFRAME_H_
#define _HOOKFRAME_H_

#include "HookToolBar.h"
#include "HookView.h"
#include "HookStatubar.h"
#include "AddinManagerImpl.h"

class CHookFrame : public CSubclassWnd  
{
public:
	CHookFrame();
	virtual ~CHookFrame();
	virtual LRESULT WindowProc(UINT uMsg, WPARAM wParam, LPARAM lParam );
	static BOOL CALLBACK EnumChildProc( HWND hwnd,LPARAM lParam);

	void HookChildren();
	static BOOL EndableMenuItems(HMENU hMenu);
	static CHookView m_HookView;
	static CHookToolBar m_HookToolBar;
	static CHookStatubar m_HookStatuBar;

	static CAddinManager* m_pAddinManager;

/*	class CSink : 
		public IDispEventImpl<0,CSink,&DIID__IFrameWorkEvents,&LIBID_AddinManagerLib,1,0>
	{
	public:
		BEGIN_SINK_MAP(CSink)
		END_SINK_MAP()

	};

	CSink m_Sink;
	DWORD m_dwCookie;
*/
};
#endif
